package dto

import "admin-system-go/model"

type ResourceGroupBaseDTO struct {
	ParentId uint   `json:"parentId,omitempty" form:"parentId"`
	Name     string `json:"name,omitempty" form:"name"`
	Intro    string `json:"intro,omitempty" form:"intro"`
	State    int8   `json:"state" form:"state"`
}

type ResourceGroupDelDTO struct {
	ResourceGroupIds []uint `json:"ids,omitempty" form:"ids"`
}

type ResourceGroupQueryDTO struct {
	model.Model
	ResourceGroupBaseDTO
	model.PageQuery
}
